package com.ruoyi.banner.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * banner对象 banner
 * 
 * @author ruoyi
 * @date 2025-06-03
 */
public class Banner extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 图片 */
    @Excel(name = "图片")
    private String bannerimage;

    /** 描述 */
    @Excel(name = "描述")
    private String bannerdescp;

    /** 跳转页面 */
    @Excel(name = "跳转页面")
    private String topath;

    /** 是否显示 */
    @Excel(name = "是否显示")
    private Long isshow;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBannerimage(String bannerimage) 
    {
        this.bannerimage = bannerimage;
    }

    public String getBannerimage() 
    {
        return bannerimage;
    }
    public void setBannerdescp(String bannerdescp) 
    {
        this.bannerdescp = bannerdescp;
    }

    public String getBannerdescp() 
    {
        return bannerdescp;
    }
    public void setTopath(String topath) 
    {
        this.topath = topath;
    }

    public String getTopath() 
    {
        return topath;
    }
    public void setIsshow(Long isshow) 
    {
        this.isshow = isshow;
    }

    public Long getIsshow() 
    {
        return isshow;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("bannerimage", getBannerimage())
            .append("bannerdescp", getBannerdescp())
            .append("topath", getTopath())
            .append("isshow", getIsshow())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
